﻿using System;
using System.Collections.Generic;
using System.Text;
using ATSModel;
using ATSIDAL;
using System.Data;

namespace ATSBLL
{
    public class TTestItem : BaseService<TTestItemInfo>
    {
        private static readonly ITTestItem dal = DALFactory.DataAccess.CreateTTestItem();
        
        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<TTestItemInfo> GetTestItems(string productSN, DateTime testTime)        
        {
            return dal.GetTestItems(productSN, testTime);
        }


        #region TD 
        public DataSet GetTDInfo(string TableName, string Info, string PSN, string Angle)
        {
            return dal.GetTDInfo(TableName,Info,PSN, Angle);
        } 
        #endregion


    }
}
